.class Lcom/example/m6shop/EditSalesActivity$10;
.super Ljava/lang/Object;
.source "EditSalesActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6shop/EditSalesActivity;->getPopwindow()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6shop/EditSalesActivity;


# direct methods
.method constructor <init>(Lcom/example/m6shop/EditSalesActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6shop/EditSalesActivity$10;->this$0:Lcom/example/m6shop/EditSalesActivity;

    .line 416
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 6
    .param p1, "arg0"    # Landroid/view/View;

    .prologue
    .line 420
    const-string v1, ""

    .line 422
    .local v1, "content":Ljava/lang/String;
    iget-object v3, p0, Lcom/example/m6shop/EditSalesActivity$10;->this$0:Lcom/example/m6shop/EditSalesActivity;

    # getter for: Lcom/example/m6shop/EditSalesActivity;->checkBoxs2:Ljava/util/List;
    invoke-static {v3}, Lcom/example/m6shop/EditSalesActivity;->access$27(Lcom/example/m6shop/EditSalesActivity;)Ljava/util/List;

    move-result-object v3

    invoke-interface {v3}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v3

    :cond_0
    :goto_0
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-nez v4, :cond_2

    .line 430
    iget-object v3, p0, Lcom/example/m6shop/EditSalesActivity$10;->this$0:Lcom/example/m6shop/EditSalesActivity;

    # getter for: Lcom/example/m6shop/EditSalesActivity;->tv_note:Landroid/widget/TextView;
    invoke-static {v3}, Lcom/example/m6shop/EditSalesActivity;->access$28(Lcom/example/m6shop/EditSalesActivity;)Landroid/widget/TextView;

    move-result-object v3

    invoke-virtual {v3, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 431
    iget-object v3, p0, Lcom/example/m6shop/EditSalesActivity$10;->this$0:Lcom/example/m6shop/EditSalesActivity;

    iget v3, v3, Lcom/example/m6shop/EditSalesActivity;->i:I

    const/4 v4, 0x5

    if-le v3, v4, :cond_1

    .line 432
    iget-object v3, p0, Lcom/example/m6shop/EditSalesActivity$10;->this$0:Lcom/example/m6shop/EditSalesActivity;

    iget v4, v3, Lcom/example/m6shop/EditSalesActivity;->i:I

    rem-int/lit8 v4, v4, 0x5

    iput v4, v3, Lcom/example/m6shop/EditSalesActivity;->i:I

    .line 434
    :cond_1
    iget-object v3, p0, Lcom/example/m6shop/EditSalesActivity$10;->this$0:Lcom/example/m6shop/EditSalesActivity;

    new-instance v4, Ljava/lang/StringBuilder;

    iget-object v5, p0, Lcom/example/m6shop/EditSalesActivity$10;->this$0:Lcom/example/m6shop/EditSalesActivity;

    iget v5, v5, Lcom/example/m6shop/EditSalesActivity;->i:I

    invoke-static {v5}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v5

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-static {v3, v4}, Lcom/example/m6shop/EditSalesActivity;->access$29(Lcom/example/m6shop/EditSalesActivity;Ljava/lang/String;)V

    .line 435
    iget-object v3, p0, Lcom/example/m6shop/EditSalesActivity$10;->this$0:Lcom/example/m6shop/EditSalesActivity;

    # getter for: Lcom/example/m6shop/EditSalesActivity;->cx:Landroid/widget/ImageView;
    invoke-static {v3}, Lcom/example/m6shop/EditSalesActivity;->access$30(Lcom/example/m6shop/EditSalesActivity;)Landroid/widget/ImageView;

    move-result-object v3

    iget-object v4, p0, Lcom/example/m6shop/EditSalesActivity$10;->this$0:Lcom/example/m6shop/EditSalesActivity;

    # getter for: Lcom/example/m6shop/EditSalesActivity;->icon:[I
    invoke-static {v4}, Lcom/example/m6shop/EditSalesActivity;->access$31(Lcom/example/m6shop/EditSalesActivity;)[I

    move-result-object v4

    iget-object v5, p0, Lcom/example/m6shop/EditSalesActivity$10;->this$0:Lcom/example/m6shop/EditSalesActivity;

    iget v5, v5, Lcom/example/m6shop/EditSalesActivity;->i:I

    aget v4, v4, v5

    invoke-virtual {v3, v4}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 437
    iget-object v3, p0, Lcom/example/m6shop/EditSalesActivity$10;->this$0:Lcom/example/m6shop/EditSalesActivity;

    # getter for: Lcom/example/m6shop/EditSalesActivity;->popWin:Landroid/widget/PopupWindow;
    invoke-static {v3}, Lcom/example/m6shop/EditSalesActivity;->access$32(Lcom/example/m6shop/EditSalesActivity;)Landroid/widget/PopupWindow;

    move-result-object v3

    invoke-virtual {v3}, Landroid/widget/PopupWindow;->dismiss()V

    .line 439
    iget-object v3, p0, Lcom/example/m6shop/EditSalesActivity$10;->this$0:Lcom/example/m6shop/EditSalesActivity;

    invoke-virtual {v3}, Lcom/example/m6shop/EditSalesActivity;->getWindow()Landroid/view/Window;

    move-result-object v3

    .line 440
    invoke-virtual {v3}, Landroid/view/Window;->getAttributes()Landroid/view/WindowManager$LayoutParams;

    move-result-object v2

    .line 441
    .local v2, "lp":Landroid/view/WindowManager$LayoutParams;
    const/high16 v3, 0x3f800000    # 1.0f

    iput v3, v2, Landroid/view/WindowManager$LayoutParams;->alpha:F

    .line 442
    iget-object v3, p0, Lcom/example/m6shop/EditSalesActivity$10;->this$0:Lcom/example/m6shop/EditSalesActivity;

    invoke-virtual {v3}, Lcom/example/m6shop/EditSalesActivity;->getWindow()Landroid/view/Window;

    move-result-object v3

    invoke-virtual {v3, v2}, Landroid/view/Window;->setAttributes(Landroid/view/WindowManager$LayoutParams;)V

    .line 443
    return-void

    .line 422
    .end local v2    # "lp":Landroid/view/WindowManager$LayoutParams;
    :cond_2
    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/widget/CheckBox;

    .line 423
    .local v0, "cbx":Landroid/widget/CheckBox;
    invoke-virtual {v0}, Landroid/widget/CheckBox;->isChecked()Z

    move-result v4

    if-eqz v4, :cond_0

    .line 424
    invoke-virtual {v0}, Landroid/widget/CheckBox;->getText()Ljava/lang/CharSequence;

    move-result-object v1

    .end local v1    # "content":Ljava/lang/String;
    check-cast v1, Ljava/lang/String;

    .line 425
    .restart local v1    # "content":Ljava/lang/String;
    iget-object v4, p0, Lcom/example/m6shop/EditSalesActivity$10;->this$0:Lcom/example/m6shop/EditSalesActivity;

    iget-object v5, p0, Lcom/example/m6shop/EditSalesActivity$10;->this$0:Lcom/example/m6shop/EditSalesActivity;

    # getter for: Lcom/example/m6shop/EditSalesActivity;->checkBoxs2:Ljava/util/List;
    invoke-static {v5}, Lcom/example/m6shop/EditSalesActivity;->access$27(Lcom/example/m6shop/EditSalesActivity;)Ljava/util/List;

    move-result-object v5

    invoke-interface {v5, v0}, Ljava/util/List;->indexOf(Ljava/lang/Object;)I

    move-result v5

    iput v5, v4, Lcom/example/m6shop/EditSalesActivity;->i:I

    goto/16 :goto_0
.end method
